#define _CRT_SECURE_NO_WARNINGS 1
#include"Stack.h"
void Test1()
{
	lsx::stack<char> st;
	st.push('a');
	cout << st.top() << " ";
	st.push('b');
	cout << st.top() << " ";
	st.push('c');
	cout << st.top() << " ";
	st.push('d');
	cout << st.top() << " ";
	st.push('e');
	cout << st.top() << " " << endl;;
	cout << "size=" << st.size() << endl;
	while (!st.empty())
	{
		st.pop();

	}
	int x = 100;
	while (x--)
	{
		int n = 0;
	}
	cout << "size=" << st.size() << endl;
}
int main()
{
	Test1();
	return 0;
}